var ImageScroll	= function(id){
	var o		= document.getElementById(id).getElementsByTagName("div");
	this.num	= parseInt(o.length);
	this.id		= id;
	this.n		= -1;
}
ImageScroll.prototype={
	plays:function(obj){
		with(document.getElementById(obj.id)){
			filters[0].Apply();alert(filters[0].play());
			for(i=0;i<obj.num;i++)
				i==obj.n?children[i].style.display="block":children[i].style.display="none";
			filters[0].play();
		}
	},
	clearAuto:function(){
		clearInterval(this.autoStart)
	},
	setAuto:function(){
		this.autoStart=setInterval(this.auto(this), 5000);
	},
	auto:function(obj){
		obj.n++;
		if(obj.n>obj.num)
			obj.n	= 0;
		obj.plays(obj);
	}
}